import 'package:flutter_deer/generated/json/base/json_field.dart';
import 'package:flutter_deer/generated/json/indicator_document_entity.g.dart';

@JsonSerializable()
class IndicatorDocumentEntity {
  IndicatorDocumentEntity(
      {this.BUDGET_LEVEL_NAME,
      this.BGT_EXE_FLAG,
      this.SOURCE_TYPE_NAME,
      this.IS_DELETED,
      this.SUP_BGT_DOC_NO,
      this.BGT_ID,
      this.BGT_TYPE_NAME,
      this.IS_GOV_PUR,
      this.EXP_FUNC_NAME,
      this.MOF_DEP_CODE,
      this.TRACK_PRO_CODE,
      this.REC_DIV_CODE,
      this.DEP_BGT_ECO_NAME,
      this.AMOUNT,
      this.FUND_TYPE_CODE,
      this.TP_FUNC_CODE,
      this.ADJ_BATCH_NO,
      this.BUDGET_LEVEL_CODE,
      this.PRO_CODE,
      this.BGT_MOF_DEP_CODE,
      this.CREATE_TIME,
      this.BGT_DEC,
      this.AGENCY_CODE,
      this.MANAGE_MOF_DEP_CODE,
      this.DIS_AMT,
      this.FUND_TYPE_NAME,
      this.MANAGE_MOF_DEP_NAME,
      this.BGT_TYPE_CODE,
      this.BGT_DOC_TITLE,
      this.GOV_BGT_ECO_CODE,
      this.SOURCE_TYPE_CODE,
      this.BGT_PMAN_ID,
      this.IS_TRACK,
      this.UPDATE_TIME,
      this.COR_BGT_DOC_NO,
      this.EXP_FUNC_CODE,
      this.ORI_BGT_ID,
      this.TP_FUNC_NAME,
      this.CUR_AMT,
      this.PRO_NAME,
      this.FLOAT_AMT,
      this.AGENCY_NAME,
      this.MOF_DIV_CODE,
      this.FISCAL_YEAR,
      this.DOC_DATE,
      this.GOV_BGT_ECO_NAME,
      this.DEP_BGT_ECO_CODE,
      this.BGT_MOF_DEP_NAME,
      this.is_dis,
      this.is_special});

  factory IndicatorDocumentEntity.fromJson(Map<String, dynamic> json) =>
      $IndicatorDocumentEntityFromJson(json);

  Map<String, dynamic> toJson() => $IndicatorDocumentEntityToJson(this);

  String? BUDGET_LEVEL_NAME;
  String? BGT_EXE_FLAG;
  String? SOURCE_TYPE_NAME;
  int? IS_DELETED;
  String? SUP_BGT_DOC_NO;
  String? BGT_ID;
  String? BGT_TYPE_NAME;
  int? IS_GOV_PUR;
  String? EXP_FUNC_NAME;
  String? MOF_DEP_CODE;
  String? TRACK_PRO_CODE;
  String? REC_DIV_CODE;
  String? DEP_BGT_ECO_NAME;
  String? AMOUNT;
  String? FUND_TYPE_CODE;
  String? TP_FUNC_CODE;
  String? ADJ_BATCH_NO;
  String? BUDGET_LEVEL_CODE;
  String? PRO_CODE;
  String? BGT_MOF_DEP_CODE;
  String? CREATE_TIME;
  String? BGT_DEC;
  String? AGENCY_CODE;
  String? MANAGE_MOF_DEP_CODE;
  String? DIS_AMT;
  String? FUND_TYPE_NAME;
  String? MANAGE_MOF_DEP_NAME;
  String? BGT_TYPE_CODE;
  String? BGT_DOC_TITLE;
  String? GOV_BGT_ECO_CODE;
  String? SOURCE_TYPE_CODE;
  String? BGT_PMAN_ID;
  int? IS_TRACK;
  String? UPDATE_TIME;
  String? COR_BGT_DOC_NO;
  String? EXP_FUNC_CODE;
  String? ORI_BGT_ID;
  String? TP_FUNC_NAME;
  String? CUR_AMT;
  String? PRO_NAME;
  String? FLOAT_AMT;
  String? AGENCY_NAME;
  String? MOF_DIV_CODE;
  String? FISCAL_YEAR;
  String? DOC_DATE;
  String? GOV_BGT_ECO_NAME;
  String? DEP_BGT_ECO_CODE;
  String? BGT_MOF_DEP_NAME;
  String? is_dis;
  String? is_special;
}

@JsonSerializable()
class IndicatorDocumentPageEntity {
  IndicatorDocumentPageEntity();

  factory IndicatorDocumentPageEntity.fromJson(Map<String, dynamic> json) =>
      $IndicatorDocumentPageEntityFromJson(json);

  Map<String, dynamic> toJson() => $IndicatorDocumentPageEntityToJson(this);

  int? total;
  int? size;
  int? current;
  int? pages;
  List<IndicatorDocumentEntity>? records;
}
